package cn.jf.modules.system.mapper;

import cn.jf.modules.system.entity.SysRolePermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色权限表 Mapper 接口
 * </p>
 *
 * @Author scott
 * @since 2018-12-21
 */
public interface SysRolePermissionMapper extends BaseMapper<SysRolePermission> {
   List<SysRolePermission> getList(@Param("sysRolePermission") SysRolePermission sysRolePermission);
   SysRolePermission getOnlyOne(@Param("sysRolePermission") SysRolePermission sysRolePermission);
   void deleteByEntity(@Param("sysRolePermission") SysRolePermission sysRolePermission);
}
